package com.addplus.townmall.server.api.model.town;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import com.addplus.townmall.server.api.model.base.BaseRestModel;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 分销比例表
 * </p>
 *
 * @author zhangjiehang
 * @since 2018-11-20
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
public class DistributionRate extends BaseRestModel {

    private static final long serialVersionUID = 1L;

    /**
     * 名称
     */
    private String keyName;

    /**
     * Code
     */
    private String keyCode;

    /**
     * 是否开启分销(0:否 1:一级分销 2:二级分销  3:三级分销)
     */
    private Integer isShare;

    /**
     * 一级分销比例
     */
    private BigDecimal primaryDistributionRate;

    /**
     * 二级分销比例
     */
    private BigDecimal secondaryDistributionRate;

    /**
     * 三级分销比例
     */
    private BigDecimal tertiaryDistributionRate;


    /**
     * 说明
     */
    private String comment;


}
